/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package tp_imag.service;

import java.awt.image.BufferedImage;
import java.io.IOException;
import java.util.Collection;
import tp_imag.model.Filter;
import java.util.Vector;
import tp_imag.service.impl.CoordenadaTransformada;

/**
 *
 * @author Administrador
 */
public interface ImageProcessor {

    public BufferedImage openImage(String imagePath);
    public BufferedImage resizeImage(BufferedImage imagenOrigina,int x,int y);
    public BufferedImage binarizeImage(BufferedImage source);
    public BufferedImage binarizeImage(BufferedImage source, int umbral);
    public BufferedImage binarizeImage(BufferedImage source, boolean realizaEcualizacion);
    public BufferedImage filterImage(BufferedImage source, Collection<Filter> filters);
    public Vector<CoordenadaTransformada> vectorizeImage(BufferedImage source, String path) throws IOException;

}
